package com.china.springServer.task;

/**
 * @fileName: ConsumerTask
 * @author: LmR
 * @createDate: 2024/3/23 21:56
 * @Desc:
 */
public class ConsumerTask implements Runnable {

    private int input;

    public ConsumerTask(int input) {
        this.input = input;
    }

    @Override
    public void run() {
        System.out.println("current thread: " + Thread.currentThread() + ", input= " + input + ".");
    }
}
